package org.jiuling.aliyun.sms.model;

import org.jiuling.aliyun.sms.model.enums.SendStatusEnum;

import java.util.List;

/**
 * 查询短信发送详情模型
 * @author 紫灵
 * @date 2023年02月10日 14时02分30秒
 */
public class QuerySendDetailsResponseModel extends BaseResponseModel {

    /** 短信发送总条数 */
    private String totalCount;
    /** 短信发送明细列表 */
    private List<SmsSendDetailModel> smsSendDetailList;

    public String getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(String totalCount) {
        this.totalCount = totalCount;
    }

    public List<SmsSendDetailModel> getSmsSendDetailList() {
        return smsSendDetailList;
    }

    public void setSmsSendDetailList(List<SmsSendDetailModel> smsSendDetailList) {
        this.smsSendDetailList = smsSendDetailList;
    }

    public static class SmsSendDetailModel{
        /** 运营商短信状态码 */
        private String errCode;
        /** 短信模板ID */
        private String templateCode;
        /** 外部流水扩展字段 */
        private String outId;
        /** 短信接收日期和时间 */
        private String receiveDate;
        /** 短信发送日期和时间 */
        private String sendDate;
        /** 接收短信的手机号码 */
        private String phoneNum;
        /** 短信内容 */
        private String content;
        /** 短信发送状态 */
        private SendStatusEnum sendStatus;

        public String getErrCode() {
            return errCode;
        }

        public void setErrCode(String errCode) {
            this.errCode = errCode;
        }

        public String getTemplateCode() {
            return templateCode;
        }

        public void setTemplateCode(String templateCode) {
            this.templateCode = templateCode;
        }

        public String getOutId() {
            return outId;
        }

        public void setOutId(String outId) {
            this.outId = outId;
        }

        public String getReceiveDate() {
            return receiveDate;
        }

        public void setReceiveDate(String receiveDate) {
            this.receiveDate = receiveDate;
        }

        public String getSendDate() {
            return sendDate;
        }

        public void setSendDate(String sendDate) {
            this.sendDate = sendDate;
        }

        public String getPhoneNum() {
            return phoneNum;
        }

        public void setPhoneNum(String phoneNum) {
            this.phoneNum = phoneNum;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public SendStatusEnum getSendStatus() {
            return sendStatus;
        }

        public void setSendStatus(SendStatusEnum sendStatus) {
            this.sendStatus = sendStatus;
        }
    }

}
